﻿/******************************************************************************
 * 
 * Announce: CSharp Kit, used to achieve data visualization.
 *           Copyright (C) ShenYongchen.
 *           All rights reserved.
 *   Author: 申永辰.郑州 (shenyczz@163.com)
 *  WebSite: http://github.com/shenyczz/CSharpKit
 *
 * THIS CODE IS LICENSED UNDER THE MIT LICENSE (MIT).
 * THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 
 * ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
 * IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
 * PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
 * 
******************************************************************************/
using System;

namespace CSharpKit.SVM
{
    /// <summary>
    /// 名称：SVM 核函数类型<br/>
    /// </summary>
    public enum KernelType
    {
        /// <summary>
        /// 线性函数(Linear Function): u'*v
        /// </summary>
        LINEAR = 0,
        /// <summary>
        /// 多项式函数<br/>
        /// k_fun = (gamma*u'*v + coef0)^degree
        /// </summary>
        POLY = 1,
        /// <summary>
        /// 径向基函数(Radial Basis Function): exp(-gamma*||u-v||^2)
        /// </summary>
        RBF = 2,
        /// <summary>
        /// S型函数(Sigmoid Function): tanh(gamma*u'*v + coef0)
        /// </summary>
        SIGMOID = 3,
        /// <summary>
        /// Precomputed kernel
        /// </summary>
        PRECOMPUTED = 4,
    }


}
